package com.gs.common.constant;


public class UserConstants
{
    /**
     * 平台内系统用户的唯一标志
     */
    public static final String SYS_USER = "SYS_USER";

    /** 正常状态 */
    public static final String NORMAL = "0";

    /** 异常状态 */
    public static final String EXCEPTION = "1";

    /** 用户封禁状态 */
    public static final String USER_DISABLE = "1";

    /** 角色封禁状态 */
    public static final String ROLE_DISABLE = "1";

    /** 部门正常状态 */
    public static final String DEPT_NORMAL = "0";

    /** 部门停用状态 */
    public static final String DEPT_DISABLE = "1";

    /** 字典正常状态 */
    public static final String DICT_NORMAL = "0";

    /** 是否为系统默认（是） */
    public static final String YES = "Y";

    /** 是否菜单外链（是） */
    public static final String YES_FRAME = "0";

    /** 是否菜单外链（否） */
    public static final String NO_FRAME = "1";

    /** 菜单类型（目录） */
    public static final String TYPE_DIR = "M";

    /** 菜单类型（菜单） */
    public static final String TYPE_MENU = "C";

    /** 菜单类型（按钮） */
    public static final String TYPE_BUTTON = "F";

    /** Layout组件标识 */
    public final static String LAYOUT = "Layout";

    /** ParentView组件标识 */
    public final static String PARENT_VIEW = "ParentView";

    /** 校验返回结果码 */
    public final static String UNIQUE = "0";
    public final static String NOT_UNIQUE = "1";


    //jwt claims key
    public final static String JWT_CLAIMS_KEY = "jwt_claims_key";
    //jwt secret key 对称加密的密钥
    public static final String JWT_SECRET_KEY = "woniu38dsdfskafdkwdfdsfafdasfdsaf";


    public static final String REDIS_MOVIE_INDEX_PREFIX = "redis_movie_index_prefix_";
    public static final String REDIS_MOVIE_BOXOFFICE_INDEX_PREFIX = "redis_movie_boxoffice_index_prefix_";

    public static final String REDIS_REGISTER_VERIFY_CODE_PREFIX = "register_verify_code_prefix_";

    public static final String REDIS_REGISTER_VERIFY_CODE_LIMIT_PREFIX = "register_verify_code_limit_prefix_";

    public static final String MQ_REGISTER_EXCHANGE = "mq_register_exchange";
    public static final String MQ_REGISTER_QUEUE = "mq_register_queue";
    public static final String MQ_REGISTER_ROUTING_KEY = "mq_register_routing_key";

    public static final String MQ_USER_REGISTER_CELLPHONE_CODE_QUEUE="mq_user_register_cellphone_code_queue";
    public static final String MQ_USER_REGISTER_CELLPHONE_CODE_EXCHANGE="mq_user_register_cellphone_code_exchange";
    public static final String MQ_USER_REGISTER_CELLPHONE_CODE_ROUTING_KEY="mq_user_register_cellphone_code_routing_key";


    public static final String MQ_ES_EXCHANGE = "mq_es_exchange";

    public static final String MQ_ES_MOVIE_QUEUE = "mq_es_movie_queue";
    public static final String MQ_ES_MOVIE_ROUTING_KEY = "mq_es_movie_routing_key";

    public static final String MQ_ES_CINEMA_QUEUE = "mq_es_cinema_queue";
    public static final String MQ_ES_CINEMA_ROUTING_KEY = "mq_es_cinema_routing_key";

    public static final String MQ_ES_ACTOR_QUEUE = "mq_es_actor_queue";
    public static final String MQ_ES_ACTOR_ROUTING_KEY = "mq_es_actor_routing_key";




    //延时交换机
    public static final String DELAY_ORDER_EXCHANGE = "spring.boot.order.delay.exchange";
    //死信交换机
    public static final String DLX_ORDER_EXCHANGE = "spring.boot.order.dlx.exchange";
    //延时队列
    public static final String DELAY_ORDER_QUEUE="spring.boot.order.delay.queue";
    //死信队列
    public static final String DLX_ORDER_QUEUE="spring.boot.order.dlx.queue";
    //延时队列routingkey
    public static final String DELAY_ORDER_ROUTING_KEY="spring.boot.order.delay.routingkey";
    //死信队列routingkey
    public static final String DLX_ORDER_ROUTING_KEY="spring.boot.order_dlx.routingkey";

    //异步订单请求交换机
    public static final String ASYNC_ORDER_REQUEST_EXCHANGE = "async_order_request_exchange";
    //异步订单请求队列
    public static final String ASYNC_ORDER_REQUEST_QUEUE = "async_order_request_queue";
    //异步订单请求ruoting key
    public static final String ASYNC_ORDER_REQUEST_ROUTING_KEY = "async_order_request_routing_key";



    //订单支付成功请求交换机
    public static final String ORDER_PAY_SUCCESS_REQUEST_EXCHANGE = "order_pay_success_request_exchange";
    //订单支付成功请求队列
    public static final String ORDER_PAY_SUCCESS_REQUEST_QUEUE = "order_pay_success_request_queue";
    //订单支付成功请求ruoting key
    public static final String ORDER_PAY_SUCCESS_REQUEST_ROUTING_KEY = "order_pay_success_request_routing_key";
}
